html,body{
    overflow-x: hidden; 
    overflow-y: scroll;
    height: 100%;
}
html{
    font-size: 100px !important;
}
body{
    background-color: white; 
}

$color_main:#ff841d;
$color_border1:#ccc;

/* header */
header{
    display: flex;
    height: 50px;
    background-color: $color_main;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.1rem;
    >h1{
        flex: 1;
        height: 100%;  
        // font-size: 0.38rem;        
        a{
            display: flex;
            justify-content: flex-start;
            align-items: center;
            width: 2rem;    
            height: 100%;
            img{
                width: 2rem;
            }
        }
    }
    >a{
        height: 100%;
        width: 34px;
        display: flex;
        justify-content: center;
        align-items: center;
        img{
            width: 34px;
            height: 34px;
        } 
    } 
}
/* search */
#mmm_search {
    margin: 5px 10px;
    height: 0.4rem;
    background-color: #fff;
    form {
        position: relative;
        display: flex;
        height: 100%;
        &::before{
            content: '';
            display: block;
            position: absolute;
            top: 0.05rem;
            left: 0.1rem;
            width: 0.3rem;
            height: 0.3rem;
            font-size: 0.3rem;
            background-image: url('../images/icon_bar.png');
            background-position: -0.1rem -0.13rem;
            background-size: 3rem;
        }
        input {
            height: 0.3rem;
            border: none;
            background-color: #f1f1f1;
            border-radius: 0.2rem;
            font-size: 15px;
        }
        .ui-field-contain{
            display: flex;
            flex:1;
            .search_inp{
                box-sizing: border-box;
                height: 100%;
                width: 100%;
                padding-left: 0.5rem;
            }
        }
        .search_submit{
            height: 100%;
            margin-left: 0.2rem;
            width: 60px;
            background-color: #ff841d;
            color: #fff;
        }
    } 
}
/* footer */
footer{ 
    background-color: #fff;
    margin-top: 0.2rem;
    text-align: center;
    font-size: 0.12rem;
    margin-bottom: 0.2rem;
    .footer_nav{
        font-size: 0.14rem;
        display: flex;
        justify-content: center;
        align-items: center;
        a{
        flex: 1;
        height: 0.3rem;
        line-height: 0.3rem;
        text-align: center;
        border: 0.01rem solid #ccc;
        }
    }
    .footer_app{
        display: flex;
        justify-content: center;
        margin-top: 0.1rem;
        a:nth-child(1){
        color: red;
        }
        
    }
    .footer_com{
        margin-top: 0.10rem;;
    }
}

/* 大分类的css  (mmm_wareComtents)  */
#mmm_wareComtents{
    position:relative;
    box-sizing: border-box;
    margin: 0.1rem;
    border-radius: 0.05rem;
    border: 1px solid #ccc;
    .bui-box{
        padding: 0;
        min-height: 0.4rem;

        >div{
            font-weight: 800px;
            margin-left: 0.15rem;
            font-size: 0.18rem;
            strong{
                font-weight: 500;
            }
        }

        >i{
            margin-right: 0.1rem;
            font-size: 0.2rem;
        }

        &:nth-last-child(){
            border-bottom: none;
        }
    }

    .wareComtentsRefine{    

        display: block;
        a{
            width: 33.33%;  
            padding:0.1rem 0;
            height: 0.37rem;
            font-size: 0.15rem;
            color:#333;
            border-bottom: 1px solid #ccc;
            border-right: 1px solid #ccc;

            &:nth-child(3n){
                border-right: none;
            }
        }        
    }
}
/* 大分类的css  (mmm_wareComtents)  */


/* 具体商品页面的样式 (mmm_wareComtentsList) */
#wareComtentsList_filter{
    border-top: 1px solid $color_border1;

    //帅选tab栏选项
    .wareComtentsList_filter_title{
        height: 0.4rem;
        line-height:  0.4rem;
        border-bottom: 1px solid $color_border1;
        ul{
            display: flex;
            width: 100%;
            li{
                flex: 1;
                a{
                    display: flex;
                    justify-content: center;
                    align-content: center;
                    width: 100%;
                    height: 100%;
                    font-size: 0.18rem;
                }  
            }

            .wareComtentsList_active{
                background-color: $color_main;
            }

        }
    }

    .bui-list{
        height: 100%;
        .bui-box{
            padding: 0 0.1rem;
            height: 140px;
            .bui-thumbnail{
                width: 120px;
                height: 120px;
                img{
                    width: 120px;
                    height: 120px;
                }

                &::before{
                    height: 0;
                    width: 0;
                }
            }
        }
        .span1{
            box-sizing: border-box;
            height: 100%;
            padding: 0.1rem;
            h3{
                margin-bottom: 0.1rem;
                height: 56px;
                line-height: 28px;
                font-size: 15px;
                text-overflow:ellipsis;
                overflow: hidden;
            }
            p{
                &:nth-child(2){
                    font-weight: 500px;
                    font-size: 20px;
                    color:red;
                }
                &:nth-child(3){
                    display: flex;
                    justify-content: space-between;
                    align-content: center;
                    font-size: 14px;

                    a{
                        color: #a1a1a1;
                    }
                }
            }
        }
        .price{

        }
    }
}

/* 商品的参数 (wareComtentsListDes) */
#wareComtentsListDes{
    padding: 0.1rem 0.1rem 0;
    .detail-head{
        
        .pic{
            display: flex;
                justify-content: center;
                align-items: center;
                padding: 0.1rem 0;

                img{
                    width: 50%;
            }
        }
        .tit{
            font-size: 0.17rem;
        }
        .ifo{
            display: flex;
            li{
                flex: 1;
                color:#666;
                font-size: 0.14rem;
            }
        }
    }

    .detail-tab{
        height: 0.34rem;
        margin: 0.1rem 0;   
        ul{
            height: 100%;
            display: flex;
            width: 100%;
            li{
                flex: 1;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 0.14rem;
                color: white;
                border: 1px solid #c14d00;
                background-color: #ffd050;
            }
        }
    }

    tbody{
        height: 0.3rem;
        tr{        
            display: flex;
            justify-content: space-between;
            align-content: center;
            td{
                font-size: 0.2rem;
                a{
                    display: block;
                    height: 100%;
                    height: 100%;
                    img{
                        width: 20px;
                        height: 20px;
                    }
                }
            }
        }
    }
}